home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
netz
/
ipdial
/
dmakefile
< prev
next >
Wrap
Makefile
|
1995-06-26
|
4KB
|
137 lines
###
### IPDial Script program for initializing a SLIP connection
### Copyright (C) 1994 Jochen Wiedmann
###
### This program is free software; you can redistribute it and/or modify
### it under the terms of the GNU General Public License as published by
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.
###
### This program is distributed in the hope that it will be useful,
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
### GNU General Public License for more details.
###
### You should have received a copy of the GNU General Public License
### along with this program; if not, write to the Free Software
### Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
###
###
### This is the main include file.
###
###
### Computer: Amiga 1200 Compiler: Dice 3.01
###
### Author: Jochen Wiedmann
### Am Eisteich 9
### 72555 Metzingen
### Germany
###
### Phone: (+0049) 7123 / 14881
### Internet: jochen.wiedmann@uni-tuebingen.de
###
############################################################################
###
### Use this to compile with Dice.
###
############################################################################
CC = dcc
CFLAGS = -proto -mi
DEBUG = -s -d1
LN = dcc
LFLAGS = -lm
LDEBUG = -s -d1
############################################################################
###
### Use this to compile with SAS/S. (Assumes my Unix compatible front-end
### cc, Aminet, dev/c.
###
############################################################################
#CC = cc -sas
#CFLAGS = ANSI OPTIMIZE
#DEBUG = -g
#LN = cc -sas
#LFLAGS =
#LDEBUG = -g
############################################################################
###
### Use this to compile with gcc.
###
############################################################################
#CC = gcc
#CFLAGS = -Wall -ansi -pedantic -O2
#DEBUG = -g
#LN = gcc
#LFLAGS = -lm
#LDEBUG = -g
############################################################################
###
### You should not need to change anything below.
###
############################################################################
###
### Main targets: all dist clean
###
############################################################################
SRCS=IPDial/IPDial.c IPDial/DeviceIO.c IPDial/Serial.c IPDial/Buffer.c \
IPDial/StrReadArgs.c IPDial/vsscanf.c IPDial/setvar.c IPDial/IPDial.h
SCRIPTS=IPDial/Login.IPDial IPDial/Hangup.IPDial
OBJS=IPDial.o DeviceIO.o Serial.o Buffer.o StrReadArgs.o vsscanf.o setvar.o
DIST=IPDial/IPDial $(SRCS) $(SCRIPTS) IPDial/DMakefile IPDial/COPYING \
IPDial/IPDial.readme
all: IPDial
clean:
delete IPDial #?.o quiet
dist:
cd /
delete IPDial.lha quiet
lha a -r IPDial.lha $(DIST)
############################################################################
###
### Source rules
###
############################################################################
IPDial: $(OBJS)
$(LN) $(OBJS) $(LDEBUG) -o IPDial $(LFLAGS)
IPDial.o: IPDial.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) IPDial.c -o IPDial.o
DeviceIO.o: DeviceIO.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) DeviceIO.c -o DeviceIO.o
Serial.o: Serial.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) Serial.c -o Serial.o
Buffer.o: Buffer.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) Buffer.c -o Buffer.o
StrReadArgs.o: StrReadArgs.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) StrReadArgs.c -o StrReadArgs.o
vsscanf.o: vsscanf.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) vsscanf.c -o vsscanf.o
setvar.o: setvar.c IPDial.h
$(CC) -c $(CFLAGS) $(DEBUG) setvar.c -o setvar.o